-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bundle Source Link packages #31632
Bundle Source Link packages #31632
Conversation
src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Sdk.SourceLink.props
Outdated
Show resolved
Hide resolved
ee262cb
to
1797771
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't looked at the code for each sourcelink package, so I'm assuming those are good to be integrated into the SDK.
Once this flows into dotnet/installer, we should check to see whether the sourcelink SDKs are appropriately crossgen'd.
src/Assets/TestProjects/SourceLinkTestApp/SourceLinkTestApp.csproj
Outdated
Show resolved
Hide resolved
src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Sdk.SourceLink.props
Outdated
Show resolved
Hide resolved
src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Sdk.SourceLink.targets
Outdated
Show resolved
Hide resolved
fa8b410
to
9bf222c
Compare
Microsoft.NET.Sdk.Common.targets is imported from Solution.targets but corresponding props file isn't, which breaks the targets.
src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Sdk.SourceLink.props
Outdated
Show resolved
Hide resolved
Added When you commit this breaking change:
Tagging @dotnet/compat for awareness of the breaking change. |
Source Link targets are included automatically unless the project has already a
PackageReference
to any Source Link package.Property
SuppressImplicitGitSourceLink
can be used to disable automatic inclusion of Source Link.